package cn.wolfcode.crm.web.controller;

import cn.wolfcode.crm.query.EmployeeQueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.shiro.authz.annotation.Logical;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/*
* 车险投保
* */

@Controller
@RequestMapping("insureInfo")
public class InsureInfoController {

    @RequestMapping("view")
    @RequiresPermissions(value = {"insureInfo:view", "保单页面"}, logical = Logical.OR)
    public String view() {
        return "insureInfo";
    }

    @RequestMapping("query")
    @ResponseBody
    @RequiresPermissions(value = {"insureInfo:query", "保单列表"}, logical = Logical.OR)
    public PageResult query(EmployeeQueryObject qo) {
        return null;
    }
}

